<?php
/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */?>
<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
<?php
/*
    $html='80';
    $xinli='70';
    $sixiu='80';
    echo "HTML网页设计成绩:" .$html.'<br/>';
    echo "心理健康成绩:".$xinli.'<br/>';
    echo "思想成绩:".$sixiu.'<br/>';
    echo '平均成绩:'.($html+$xinli+$sixiu)/3;
    */?>
    <?php 
    $html=80;
    $xinli=70;
    $sixiu=80;
    ?>
    <table>
        <tr><th>课程</th>
            <th>成绩</th>
        </tr>
        <tr>
        <td>HTML网页设计</td>
        <td><?php echo "    $html";?></td>
        </tr>
        <tr>
            <td>心理健康</td>
        <td><?php echo "    $xinli";?></td>
        </tr>
        <tr>
            <td>思想成绩</td>
        <td><?php echo "    $sixiu";?></td>
        </tr>
        <tr>
            <td>平均分</td>
        <td><?php echo ($html+$xinli+$sixiu)/3;?></td>
        </tr>
        
    </table>
</body>
</html>